package com.system.orderserver.result;

import java.util.Date;

/**
 * 根据订单ID查询订单详情中的订单信息
 * 订单某一部分数据
 */
public class OrderResult {
    private Integer ordersId;
    private String ordersNo;
    private Date ordersCreatetime;
    private Integer paymentmethod;//支付方式
    private Integer ordersState;
    private Integer userId;
    private String logisticsName;//物流名称
    private Double couponMoney;//优惠券优惠价格
    private Double couponStartMoney;//优惠券使用条件价格
    private String logisticsNo ;//物流单号

    public Integer getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(Integer ordersId) {
        this.ordersId = ordersId;
    }

    public String getOrdersNo() {
        return ordersNo;
    }

    public void setOrdersNo(String ordersNo) {
        this.ordersNo = ordersNo;
    }

    public Date getOrdersCreatetime() {
        return ordersCreatetime;
    }

    public void setOrdersCreatetime(Date ordersCreatetime) {
        this.ordersCreatetime = ordersCreatetime;
    }

    public Integer getPaymentmethod() {
        return paymentmethod;
    }

    public void setPaymentmethod(Integer paymentmethod) {
        this.paymentmethod = paymentmethod;
    }

    public Integer getOrdersState() {
        return ordersState;
    }

    public void setOrdersState(Integer ordersState) {
        this.ordersState = ordersState;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getLogisticsName() {
        return logisticsName;
    }

    public void setLogisticsName(String logisticsName) {
        this.logisticsName = logisticsName;
    }

    public Double getCouponMoney() {
        return couponMoney;
    }

    public void setCouponMoney(Double couponMoney) {
        this.couponMoney = couponMoney;
    }

    public Double getCouponStartMoney() {
        return couponStartMoney;
    }

    public void setCouponStartMoney(Double couponStartMoney) {
        this.couponStartMoney = couponStartMoney;
    }

    @Override
    public String toString() {
        return "OrderResult{" +
                "ordersId=" + ordersId +
                ", ordersNo='" + ordersNo + '\'' +
                ", ordersCreatetime=" + ordersCreatetime +
                ", paymentmethod=" + paymentmethod +
                ", ordersState=" + ordersState +
                ", userId=" + userId +
                ", logisticsName='" + logisticsName + '\'' +
                ", couponMoney=" + couponMoney +
                ", couponStartMoney=" + couponStartMoney +
                '}';
    }

    public String getLogisticsNo() {
        return logisticsNo;
    }

    public void setLogisticsNo(String logisticsNo) {
        this.logisticsNo = logisticsNo;
    }
}
